home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-11-15 | 3.0 KB | 74 lines | [TEXT/MPS ] |
- scriptName = InstallFatApp
- debugScriptName = {scriptName}.debug
- localScriptCheckExtName = {scriptName}.scx
-
- sourceFile = CheckIfInternalRuleFunc
-
- OBJECTS = CheckIfInternalRuleFunc.c.o
- ScriptCheckDir = :::ScriptCheck 4.0.3:
- InstallerCIncDir = :::DeveloperInterfaces:CIncludes:
- InstallerCSrcDir = :::DeveloperInterfaces:CSources:
- InstallerRIncDir = :::DeveloperInterfaces:RIncludes:
- InstallerDebuggerDir = :::Installer Debugger 4.0:
- InstaCompOneDir = :::InstaCompOne 1.0:
-
- compressTool = :::InstaCompOne 1.0:InstaCompOneTool
-
- # NOTE: The source file for the compression command should have the
- # same file type and creator as the resulting target application, since
- # this decompression will be performed via file atom. InstaCompOne looks
- # for an entry in the file archive that has matching filename, type and
- # creator as the target spec ( 'intf' ) of the file atom ( 'infa' ).
- # Filename can be modified using the -f option with InstaCompOneTool,
- # but the file type and creator must be correct already in the source file.
- PowMacDataForkSrcName = :Source Files:PowMac Data Fork
- PowMacEntryName = ModApp
- PowMacArchiveName = :Disk 1:PowMacFileArchive
-
- PowMacRsrcForkSrcName = :Source Files:PowMac Rsrc Fork
- PowMacRsrcForkTgtName = :Disk 1:Power Macintosh Part
-
- 68KRsrcForkSrcName = :Source Files:68K Macintosh Part
- 68KArchiveName = :Disk 1:68KRsrcArchive
-
- ScriptCheckExtension = {InstaCompOneDir}InstaCompOneSCExt.rsrc
-
- COptions = -b -r -sym on
- LinkOptions = -mf -sym on
-
- "{debugScriptName}" ƒ "{scriptName}"
- Duplicate -y "{scriptName}" "{scriptName} w/ Debugger"
- Rez -m "{InstallerDebuggerDir}Installer Debugger.r" -append -o "{scriptName} w/ Debugger"
-
- "{scriptName}" ƒƒ "{sourceFile}" "{scriptName}.r" "{PowMacArchiveName}" "{PowMacRsrcForkTgtName}" "{68KArchiveName}" "{localScriptCheckExtName}"
- set theTime "'`date -d -s` 12:00:00 PM'"
- Rez "{scriptName}.r" -o "{scriptName}" -t 'kajr' -c 'kajr' -i "{InstallerRIncDir}"
- SetFile -a b -d {theTime} "{scriptName}"
- "{ScriptCheckDir}ScriptCheck" "{scriptName}" -h -d -a
- SetFile -m {theTime} "{scriptName}"
-
-
- "{sourceFile}" ƒ "{OBJECTS}"
- Link {LinkOptions} -t rsrc -c RSED -rt infn=143 -m CheckIfInternalRuleFunc -sg "{sourceFile}" ∂
- "{OBJECTS}" ∂
- "{Libraries}Interface.o" ∂
- -o "{sourceFile}"
-
- "{sourceFile}.c.o" ƒ "{sourceFile}.c"
- C {COptions} "{sourceFile}.c" -i "{InstallerCIncDir}"
-
- "{PowMacArchiveName}" ƒ "{PowMacDataForkSrcName}"
- "{compressTool}" "{PowMacDataForkSrcName}" -f "{PowMacEntryName}" -o "{PowMacArchiveName}"
-
- "{68KArchiveName}" ƒ "{68KRsrcForkSrcName}"
- "{compressTool}" "{68KRsrcForkSrcName}" -k 'CODE'=0 -a 'part'=0 -o "{68KArchiveName}"
- "{compressTool}" "{68KRsrcForkSrcName}" -k 'CODE'=1 -a 'part'=1 -o "{68KArchiveName}"
- "{compressTool}" "{68KRsrcForkSrcName}" -k 'CODE'=2 -a 'part'=2 -o "{68KArchiveName}"
-
- "{PowMacRsrcForkTgtName}" ƒ "{PowMacRsrcForkSrcName}"
- duplicate -y -r "{PowMacRsrcForkSrcName}" "{PowMacRsrcForkTgtName}"
-
- "{localScriptCheckExtName}" ƒ "{ScriptCheckExtension}"
- Duplicate -y "{ScriptCheckExtension}" "{localScriptCheckExtName}"
-
-